//using System;
//using System.Collections.Generic;
//using System.Text;
//using Rapier.Kodachi.Shared;
//using System.Drawing;
//using Rapier.Kodachi.iTunes.Actions;

//namespace Rapier.Kodachi.iTunes
//{
//    public class iTunesCatalog
//    {
//        private Bitmap[] stars = new Bitmap[6];
//        private Plugin plugin;

//        public iTunesCatalog(Plugin plugin)
//        {
//            this.plugin = plugin;
//            stars[0] = Properties.Resources._0star;
//            stars[1] = Properties.Resources._1star;
//            stars[2] = Properties.Resources._2star;
//            stars[3] = Properties.Resources._3star;
//            stars[4] = Properties.Resources._4star;
//            stars[5] = Properties.Resources._5star;
//        }

//        public override void LoadItems()
//        {
//            Item ratingOne = new Item(this, "Rating", "1 Star", "Rate Current Track 1 Star");
//            ratingOne.GetImage = delegate() { return stars[1]; };
//            ratingOne.IndirectOnly = true;
//            ratingOne.Properties["iTunesRating"] = true;
//            plugin.Host.AddItem(ratingOne);

//            Item ratingTwo = new Item(this, "Rating", "2 Star", "Rate Current Track 2 Stars");
//            ratingTwo.IndirectOnly = true;
//            ratingTwo.GetImage = delegate() { return stars[2]; };
//            ratingTwo.Properties["iTunesRating"] = true;
//            plugin.Host.AddItem(ratingTwo);

//            Item ratingThree = new Item(this, "Rating", "3 Star", "Rate Current Track 3 Stars");
//            ratingThree.IndirectOnly = true;
//            ratingThree.GetImage = delegate() { return stars[3]; };
//            ratingThree.Properties["iTunesRating"] = true;
//            plugin.Host.AddItem(ratingThree);

//            Item ratingFour = new Item(this, "Rating", "4 Star", "Rate Current Track 4 Stars");
//            ratingFour.IndirectOnly = true;
//            ratingFour.GetImage = delegate() { return stars[4]; };
//            ratingFour.Properties["iTunesRating"] = true;
//            plugin.Host.AddItem(ratingFour);

//            Item ratingFive = new Item(this, "Rating", "5 Star", "Rate Current Track 5 Stars");
//            ratingFive.IndirectOnly = true;
//            ratingFive.GetImage = delegate() { return stars[5]; };
//            ratingFive.Properties["iTunesRating"] = true;
//            plugin.Host.AddItem(ratingFive);

//            Item ratingClear = new Item(this, "Rating", "Clear", "Clear Rating");
//            ratingClear.IndirectOnly = true;
//            //ratingClear.GetImage = delegate() { return new Bitmap((Bitmap)Rapier.Kodachi.iTunes.Properties.Resources.ResourceManager.GetObject("Star")); };
//            ratingClear.GetImage = delegate() { return stars[0]; };
//            ratingClear.Properties["iTunesRating"] = true;
//            plugin.Host.AddItem(ratingClear);
//        }

//        public override bool IsItemDeleted(Item item)
//        {
//            return false;
//        }
//    }
//}
